package com.passive.lock.model.po;

public class TKeytolock {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private Integer keyid;

    /**
     * 
     */
    private Integer lockid;

    /**
     * 
     */
    private Integer authid;

    /**
     * 1:已授权；0：授权结束；
     */
    private String state;

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 
     * @return keyId 
     */
    public Integer getKeyid() {
        return keyid;
    }

    /**
     * 
     * @param keyid 
     */
    public void setKeyid(Integer keyid) {
        this.keyid = keyid;
    }

    /**
     * 
     * @return lockId 
     */
    public Integer getLockid() {
        return lockid;
    }

    /**
     * 
     * @param lockid 
     */
    public void setLockid(Integer lockid) {
        this.lockid = lockid;
    }

    /**
     * 
     * @return authId 
     */
    public Integer getAuthid() {
        return authid;
    }

    /**
     * 
     * @param authid 
     */
    public void setAuthid(Integer authid) {
        this.authid = authid;
    }

    /**
     * 1:已授权；0：授权结束；
     * @return state 1:已授权；0：授权结束；
     */
    public String getState() {
        return state;
    }

    /**
     * 1:已授权；0：授权结束；
     * @param state 1:已授权；0：授权结束；
     */
    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }
}